Using Off-the-Shelf Formal Methods to Verify Attribute Grammar Properties

نویسندگان

  • Shirley Goldrei
  • Anthony M. Sloane
چکیده

Attribute Grammars are the specification language of many tools that automatically generate programming language implementations. We consider the problem of verifying properties of attribute grammar specifications, particularly properties that are not well supported by existing tools. Rather than propose methods for extending existing tool implementation techniques, we propose the use of off-the-shelf formal methods tools as the basis for attribute grammar verification. Off-the-shelf tools can provide significant expressive power at a much lower cost than extending an existing evaluator generator. As a specific example, we describe how to use the Alloy model finding and checking tool to verify properties of remote attribution constructs in the LIDO attribute grammar specification language. A naive application of this approach has significant performance overheads; we discuss techniques for limiting the scope of the problems that are solved to make the approach tractable.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Specifying and Verifying the Correctness of Dynamic Software Updates

Dynamic software updating (DSU) systems allow running programs to be patched on-the-fly to add features or fix bugs. While dynamic updates can be tricky to write, techniques for establishing their correctness have received little attention. In this paper, we present the first methodology for automatically verifying the correctness of dynamic updates. Programmers express the desired properties o...

متن کامل

Reachability checking in complex and concurrent software systems using intelligent search methods

Software system verification is an efficient technique for ensuring the correctness of a software product, especially in safety-critical systems in which a small bug may have disastrous consequences. The goal of software verification is to ensure that the product fulfills the requirements. Studies show that the cost of finding and fixing errors in design time is less than finding and fixing the...

متن کامل

Verifying Fixed-Point Digital Filters using SMT-Based Bounded Model Checking

The implementation of digital filters in processors based on fixed-point arithmetic can lead to problems related to the finite word-length. In particular, the processing of signals in such filters can produce overflows and unwanted noise caused by quantization and round off effect during the accumulative addition and multiplication operations. In this paper, we describe a new approach to verify...

متن کامل

Generating Formal Verification Properties from Natural Language Hardware Specifications

OF THE DISSERTATION Generating Formal Verification Properties from Natural Language Hardware Specifications By Christopher Bryant Harris Doctor of Philosophy in Electrical and Computer Engineering University of California, Irvine, 2015 Professor Ian G. Harris, Chair Verification of modern digital systems can consume up to 70% of the design cycle. Verification engineers must create formal proper...

متن کامل

An LFG-based Approach To Machine Translation

1) The obvious advantages of 'buying' a well-established (and well-specified) grammatical theory 'off the shelf’: It can be assumed to have been tested sufficiently for practical application, and to have been examined with respect to its most fundamental formal properties (e.g. decidability). This saves on the preliminary basic research, always necessary to establish the fundamental practicabil...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 110  شماره 

صفحات  -

تاریخ انتشار 2004